package com.example.wdanzuobq;

public class NOte {
    private long id;
    private String content;
    private String time;
    private int tag;
    public NOte(){
    }
    public NOte(String content,String time, int tag){
        this.content = content;
        this.time = time;
        this.tag = tag;
    }
    public long getId(){return id;}
    public String getContent(){return content;}
    public String getTime(){return time;}
    public void setId(long id){this.id = id;}
    public void setContent(String content){this.content = content;}
    public void setTime(String time){this.time = time;}
    public int getTag(){return tag;}
    public void setTag(int tag){ this.tag = tag;}
    @Override
    public String toString(){return content + "\n" + time.substring(5,16)+""+id;}
}
